package com.luck.emp.payment.logic;

import com.luck.emp.entity.EmpTPayment;
import com.luck.emp.payment.qry.PaymentQry;
import com.luck.pf.common.entity.UserBean;
import com.luck.pf.framework.logic.IBaseLogic;

/**
 * 说明 Copyright: Copyright (c) 2011 深圳**科技
 * 
 * @author
 * 
 */
public interface IPaymentLogic extends IBaseLogic {
	/**
	 * 保存
	 **/
	public String savePayment(UserBean userBean, EmpTPayment entity)
			throws Exception;

	/**
	 * 删除
	 */
	public String deletePayment(UserBean userBean, EmpTPayment entity)
			throws Exception;

	/**
	 * 查找分页信息
	 */
	// public Page findPaymentPage(PaymentQry qry);
	public <T> T findPaymentPage(PaymentQry qry, Class<T> cls);
}